﻿using System;
using UnityEngine;

namespace IllusionUtility.SetUtility
{
	// Token: 0x02000651 RID: 1617
	public static class TransformCopy
	{
		// Token: 0x06002679 RID: 9849 RVA: 0x00147D04 File Offset: 0x00145F04
		public static void CopyPosRotScl(this Transform dst, Transform src)
		{
			dst.localPosition = src.localPosition;
			dst.localRotation = src.localRotation;
			dst.localScale = src.localScale;
			dst.position = src.position;
			dst.rotation = src.rotation;
		}

		// Token: 0x0600267A RID: 9850 RVA: 0x00147D44 File Offset: 0x00145F44
		public static void Identity(this Transform transform)
		{
			transform.localPosition = Vector3.zero;
			transform.localRotation = Quaternion.identity;
			transform.localScale = Vector3.one;
			transform.position = Vector3.zero;
			transform.rotation = Quaternion.identity;
		}
	}
}
